package com.yocard.yxyd.ui.contract;

import android.app.Activity;

import com.yocard.yxyd.base.BasePresenter;
import com.yocard.yxyd.base.BaseView;
import com.yocard.yxyd.http.model.response.RechargesBean;

import java.util.List;

/**
 * Created on 2019/4/9.
 */
public interface TopUpContract {
    interface View extends BaseView {
        void getRechargesSuccess(List<RechargesBean> rechargesBeans);
        void onGetBalance(String balance);
    }

    interface Presenter extends BasePresenter<View> {
        void getRecharges();
        void createOrder(Activity activity,String id);
        void getBalance();
    }
}
